package com.zhibang.report.service.impl;

import com.sannuo.common.domain.Index;
import com.zhibang.report.dao.IndexMapper;
import com.zhibang.report.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexServiceImpl implements IndexService {
    @Autowired
    private IndexMapper indexMapper;

    @Override
    public List<Index> selectIndex() {
        List<Index> indices = indexMapper.selectIndex();
        return indices;
    }

    @Override
    public Integer oneMan() {
        Integer i = indexMapper.oneMan();
        return i;
    }

    @Override
    public Integer oneWoMan() {
        Integer i = indexMapper.oneWoMan();
        return i;
    }
}
